<!DOCTYPE html>
<html>
	<head>
		<title>{$title}</title>
		<link href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.css" type="text/css" rel="stylesheet" />
		<script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
	</head>
	<body style="background-color:#D3D3D3;">
		<!--<body background="__PUBLIC__/images/background.jpg">-->
		<div class="container">
			<div><h1><a href={:U('/Home/index/index')}>{$title}</a></h1></div>
		<div>
		</div>
		<br />
		<div>
		</div>
		<br />
		<div>
			<h2>文章</h2>
			<foreach name="content" item="vo">
			<p><h4>标题:{$vo.title}</h4>{$vo.content}<h5>作者：{$username}</h5></p>
			</foreach>

		</div>
		<div>
			<h2>近期文章</h2>
			<foreach name="content" item="vo">
			<p><h4>标题:{$vo.title}</h4>{$vo.content}<h5>作者：{$username}</h5></p>
				</foreach>
		</div>
		<br />
		<div>
			<h2>近期评论</h2>
			</div>
		<br />
			<div>
				<h2>分类</h2>
			</div>
			<br />
			<div>
			<br />
			<h2>归档</h2>
			<foreach name="content" item="vo">
			{$vo.archives}
			</foreach>
			</div>
			<div>
				<h2>管理</h2>
				<a href={:U('Admin/Login/index')}><button type="button">登录</button></a>
				<a href={:U('Admin/Login/index')}><button type="button">注册</button></a>
			</div>
			<div>
				<h2>功能</h2>
			<form action={:U('Home/Index/search')} method="post">
			<input type="text" name="search" class="form-control" placeholder="搜索">
	    		<!--<input type="submit" class="btn" value="搜索">-->
			</form>
			</div>
		</div>
	</body>
</html>
